/**
  CNOK project, Anyang Normal University, IMP-CAS
  \class TANuMom
  \brief calculate momentum distribution of the residue of direct 1-N removal
  This is a driver class of TARsMom, and hence a derived class from TANucleus
  \author SUN Yazhou, asia.rabbit@163.com
  \since 2023/02/04
  \date Last modified: 2023/02/07 by SUN Yazhou
  \copyright 2020-2023 SUN Yazhou
  \copyright CNOK project, Anyang Normal University, IMP-CAS
*/

#ifndef _TANuMom_h_
#define _TANuMom_h_

#include "TANucleus.h"
#include "TAYaml.h"

class TANuMom : public TANucleus{
public:
  TANuMom(int a, bool isconv = false);
  TANuMom(const string &f, bool isconv = false); ///< \param f: the YAML cfg file
  virtual ~TANuMom(){}

  void Mom(); ///< calcualte the momentum distribution of the residue
  void SetIsConv(bool isconv){ fIsConv = isconv; }

protected:
  bool fIsConv; ///< whether do the convolution or not
};

#endif
